package com.magicmovie.mapper;

import com.magicmovie.entity.IndexCategory;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface IndexCategoryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(IndexCategory record);

    int insertSelective(IndexCategory record);

    IndexCategory selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(IndexCategory record);

    int updateByPrimaryKey(IndexCategory record);

    List<IndexCategory> findAll();

    List<IndexCategory> selectByParams(Map<String, Object> params);
}